package mainDataManager;

import com.jfinal.core.Controller;

import java.util.List;

/**
 * Created by kk on 2017/8/18.
 * 班组
 */
public class BanZuController extends Controller{
    private static int pageNum = 10;//每页查询条数

    /**
     * 班组管理首次加载方法
     */
    public void index(){
        pageNum = 10;
        List<BanZuManager> list = BanZuManager.dao.getListBanZu();
        setAttr("list", list);
        System.out.println("-----------班组管理 --" + list.size() + " -------------");
        //renderJson("list",list);
        render("/mainDataManager/bzgl.html");
    }
}
